package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IPerfilDao;
import br.com.news.database.entities.PerfilEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.PerfilBean;
import br.com.news.utils.database.interfaces.IPerfilService;

@Named
public class PerfilService extends GenericService<PerfilBean, PerfilEntity, Long> implements IPerfilService{

	@Inject
	private IPerfilDao perfilDao;

	@Override
	protected IGenericDao<PerfilEntity, Long> getConcreteDao() {
		return this.perfilDao;
	}

}
